Getting and Setting Values and Attributes

Description

The following JavaScript functions can be used to get and set attributes and values of HTML elements. The ELEMENT argument that is passed in can in all cases be a pointer to an HTML element, or the ID or NAME of an HTML element.

Name
Description
$ga Function

The $ga() function retrieves an attribute or multiple attributes from a single element or multiple elements.

$gvs Function

The $gvs() function gets the value from a single 'conceptual' element.

$sa Function

The $sa() function sets an attribute or multiple attributes for a single element or multiple elements.

$svs Function

The $svs() function sets the value of a single conceptual element.

See Also